﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master"
    CodeBehind="SaleSetList.aspx.cs" Inherits="Things.Web.SaleSet.SaleSetList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript" src="/js/CheckBox.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!--Title -->
    <!--Title end -->
    <!--Add  -->
    <!--Add end -->
    <!--Search -->
    <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
        <tr>
            <td align="left" class="tdbg">
                <asp:Button ID="_ctlBtnAddA" runat="server" Text="添加体验式A计划" onclick="_ctlBtnAdd_Click"></asp:Button>
                <asp:Button ID="_ctlBtnAddB" runat="server" Text="添加拓展式B计划"  onclick="_ctlBtnAddB_Click"></asp:Button>
                <asp:Button ID="_ctlBtnAddC" runat="server" Text="添加深度C计划" 
                    onclick="_ctlBtnAddC_Click"></asp:Button>
                <asp:Button ID="_ctlBtnAddFree" runat="server" Text="添加自由订购参数" 
                    onclick="_ctlBtnAddFree_Click"></asp:Button>
            </td>
        </tr>
    </table>
    <!--Search end-->
    <br />
    <asp:GridView ID="gridView" runat="server" AllowPaging="True" Width="100%" CellPadding="3"
        BorderWidth="1px" DataKeyNames="GoodsID"
        AutoGenerateColumns="false" PageSize="10"
        RowStyle-HorizontalAlign="Center">
        <Columns>
            <asp:TemplateField ControlStyle-Width="30" HeaderText="选择">
                <ItemTemplate>
                    <asp:CheckBox ID="DeleteThis" onclick="javascript:CCA(this);" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="GoodsId" HeaderText="GoodsID" SortExpression="GoodsId"
                ItemStyle-HorizontalAlign="Center" Visible="false" />
            <asp:BoundField DataField="Caption" HeaderText="描述"
                ItemStyle-HorizontalAlign="Center" Visible="true" />
            <asp:BoundField DataField="DeliveredNumber" HeaderText="配送数量"
                ItemStyle-HorizontalAlign="Center" Visible="true" />
            <asp:BoundField DataField="DeliveredCount" HeaderText="配送次数"
                ItemStyle-HorizontalAlign="Center" Visible="true" />
            <asp:BoundField DataField="DeliveredCycle" HeaderText="配送周期"
                ItemStyle-HorizontalAlign="Center" Visible="true" />
            <asp:BoundField DataField="UnitPrice" HeaderText="单价"
                ItemStyle-HorizontalAlign="Center" Visible="true" />

            <asp:TemplateField ControlStyle-Width="50" HeaderText="删除" Visible="false">
                <ItemTemplate>
                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                        Text="删除"></asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
        <tr>
            <td style="width: 1px;">
            </td>
            <td align="left">
                <asp:Button ID="btnDelete" runat="server" Text="删除" />
            </td>
        </tr>
    </table>
                <asp:HiddenField ID="_ctlHideGoodsId" runat="server" />
</asp:Content>
